import 'package:flutter_app/http/core/hi_net_adapter.dart';
import 'package:flutter_app/http/request/base_request.dart';

class MockAdapter extends HiNetAdapter {
  @override
  Future<HiNetResponse<T>> send<T>(BaseRequest request) {
    // TODO: implement send
    throw UnimplementedError();
  }
  // @override
  // Future<HiNetResponse> send<T>(BaseRequest request) {
  //   return Future<HiNetResponse>.delayed(const Duration(milliseconds: 1000), () {
  //     return HiNetResponse(
  //         data: {"code": 0, "message": 'success'},statusCode: 200,statusMessage: "这是返回数据");
  //   });
  // }
}
